package cn.tedu.egarticle2.mapper;

import cn.tedu.egarticle2.pojo.entity.MvcArticle;
import cn.tedu.egarticle2.pojo.vo.ArticleVO;
import cn.tedu.egarticle2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    UserVO selectByUsernamePassword(@Param("username")String username,
                                    @Param("password") String password);

    int insertArticle(MvcArticle mvcArticle);

    ArticleVO selectByArticleId(Integer id);
}
